package com.chenl.provider.DEMOS.Spring.幂等注解;

import com.chenl.provider.DTO.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

//@FeignClient(value = "consumer")
@FeignClient(name = "12",url = "http://localhost:8081")
public interface ConMiDengFeign {

    @PostMapping(value= "/test2/test" )
    String test(@RequestBody UserInfo userInfo);

}
